 begintownscript;
variables;
short choice,i,j;

body;
beginstate init_state;
i = 0;
while(char_ok(i) == 0){
	i = i + 1;
}
set_character_facing(i,0);
force_instant_terrain_redraw(); 

reset_dialog();
add_dialog_str(0,"I stayed in a state of restless half-sleep for several hours, the horse's rhythmic swaying and the steady clap of hooves on dirt path competing with sheer exhaustion to see who'd win out.",0);
add_dialog_str(1,"Eventually though the clump of hooves on dirt gave way to the clack of hooves on cobblestone, startling me from the equilibrium I'd reached. I reigned the horse in sharply-- I'd arrived.",0);
add_dialog_choice(0,"OK");
choice = run_dialog(1);

reset_dialog();
add_dialog_str(0,"The sun was just rising over the tops of the trees to the east, and its rays now sparkled off the water of the moat and turned the gray city walls a dull red. I'd ridden all night.",0);
add_dialog_str(1,"At my gentle prodding the horse resumed its steady trot towards the colossal city. The Chapel was like a palace compared to the peasant huts and farmhouses I'd seen, but this was something entirely on a different level.",0);
add_dialog_str(2,"There were guards walking the ramparts and standing watch at the gate. Armed men, ready to strike down the wicked and help up the weak. This was where I'd been looking for. This is what the Order should have been.",0);
add_dialog_str(3,"I'd known all along, at some level at least. If only they had understood.",0);
add_dialog_choice(0,"OK");
choice = run_dialog(1);

break;

beginstate exit_state;
break;

beginstate start_state;
break;

beginstate 10;
message_dialog("I'd reached Cigosal, and though I hadn't had any plans in mind when I set off things seemed more promising now that I was here. I wasn't going to turn back.","");
block_entry(1);
break;

beginstate 11;
if(get_flag(27,0) == 0){
	set_flag(27,0,1);
	begin_talk_mode(1);
}
break;

beginstate 12;
if(get_flag(27,1) == 0){
	set_flag(27,1,1);
	reset_dialog();
	add_dialog_str(0,"What appeared to be three major roads intersected at the courtyard ahead. In my mind anything paved was a main road, but I thought that these seemed large even for Cigosal's gargantuan standards.",0);
	add_dialog_str(1,"As wide as they were, they were still packed with people hustling about their early morning business.",0);
	add_dialog_str(2,"Everybody I saw moved quickly about their own affairs without speaking or even looking at those around them. Apparently the moment they left my sight they started hollering, though, because somebody had to be making the great din that filled the streets.",0);
	add_dialog_str(3,"Guards stood at the edges of the courtyard, watching the crowds lazily. The people, for their part, seemed to prefer to ignore their presence. They hurried by with heads down, and on the off chance they made eye contact they quickly glanced away.",0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);

	reset_dialog();
	add_dialog_str(0,"The crowd was even denser on the road to the north, where a great mob of people filled the street. I rode forward, intrigued to see what brought all these people out.",0);
	add_dialog_choice(0,"OK");
	choice = run_dialog(1);
}
break;

beginstate 13;
block_entry(1);
message_dialog("The dilapidated buildings ahead appeared to be private homes. I didn't have any business here in the residence district.","");
break;

beginstate 14;
block_entry(1);
message_dialog("The sign called this _Waterfront Run,_ and the increasing number of less reputable taverns down the road attested that this did indeed lead to the harbor.","Harbors are cesspits of crime, blights on otherwise fair cities. I had no interest in visiting one.");
break;

beginstate 15;
message_dialog("I rode slowly into the crowd. Regardless of how densely packed the people ahead were they always somehow found the space to let me squeeze past.","");
move_to_new_town(28,25,46);
break;

beginstate 100;
block_entry(1);
break;